package com.liujit.bms.app.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.result.BaseResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 博客分类返回结果
 * @Author liujun
 * @Date 2021-07-13 11:10:35
 */
@Data
@ApiModel(value = "BlogCategoryResult", description = "博客分类返回结果")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BlogCategoryResult extends BaseResult {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "文章数量")
    private Integer articleNum;
}